package com.soft3.yxq.generator.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 类别属性表
 * </p>
 *
 * @author yxq
 * @since 2024-12-20
 */
@ApiModel(value = "Property对象", description = "类别属性表")
public class Property implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "property_id", type = IdType.AUTO)
    private Integer propertyId;

    @ApiModelProperty("属性名称")
    private String propertyName;

    @ApiModelProperty("关联类别id")
    private Integer propertyCategoryId;

    public Integer getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(Integer propertyId) {
        this.propertyId = propertyId;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public Integer getPropertyCategoryId() {
        return propertyCategoryId;
    }

    public void setPropertyCategoryId(Integer propertyCategoryId) {
        this.propertyCategoryId = propertyCategoryId;
    }

    @Override
    public String toString() {
        return "Property{" +
            "propertyId = " + propertyId +
            ", propertyName = " + propertyName +
            ", propertyCategoryId = " + propertyCategoryId +
        "}";
    }
}
